package com.training.bt.user.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class UserRegisterDTO {
    @NotBlank(message = "用户名为空")
    private String username;

    @NotBlank(message = "密码为空")
    private String password;

    @Email(message = "邮箱格式不正确")
    private String email;

    @NotBlank(message = "邀请码为空")
    private String passkey;

}
